#include "StdAfx.h"
#include "ErrorDescriptionMessage.h"
#include <qmessagebox.h>

ErrorDescriptionMessage::ErrorDescriptionMessage(const std::string& errorDescr)
   : m_errorDescription(errorDescr)
{
}


ErrorDescriptionMessage::~ErrorDescriptionMessage(void)
{
}

void ErrorDescriptionMessage::do_execute()
{
   QString message = QString::fromStdString(m_errorDescription);
   QMessageBox::information(QApplication::activeWindow(), "Error", message, QMessageBox::Ok);
}